import { createApp } from 'vue'
import { createPinia } from 'pinia'
import AppMain from './App.vue'
import router from './router'
import './styles/index.less'
import 'vue3-toastify/dist/index.css'

import Vue3Toastify, { type ToastContainerOptions } from 'vue3-toastify'
// import Antd from 'ant-design-vue';
// import 'ant-design-vue/dist/reset.css'

const app = createApp(AppMain)
                .use(router)
                .use(createPinia())
                .use(Vue3Toastify, {
                    autoClose: 2000,
                  } as ToastContainerOptions
                )


app.mount('#app')
